# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class MasterVersion(object):

    def __init__(self, version=None, isDefault=None, defaultNodeVersion=None, versionStatus=None, nodeOsTypes=None, clusterAddons=None):
        """
        :param version: (Optional) 集群版本号
        :param isDefault: (Optional) 是否默认版本
        :param defaultNodeVersion: (Optional) 默认工作节点版本号
        :param versionStatus: (Optional) 版本状态
        :param nodeOsTypes: (Optional) node节点操作系统类型列表，以 "," 分割，目前支持 CentOS|Windows
        :param clusterAddons: (Optional) 该版本可安装的addons
        """

        self.version = version
        self.isDefault = isDefault
        self.defaultNodeVersion = defaultNodeVersion
        self.versionStatus = versionStatus
        self.nodeOsTypes = nodeOsTypes
        self.clusterAddons = clusterAddons
